package action_行为型.null_object_pattern_空对象模式;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: hihi
 * @Date: 2020/07/09/17:59
 * @Description:
 */
public class NullObjectPatternDemo {
	public static void main(String[] args) {
		AbstractCustomer zhangsan = CustomerFactory.getCustomer("zhangsan");
		AbstractCustomer yunqiang = CustomerFactory.getCustomer("yunqiang");
		System.err.println(zhangsan.getName());
		System.err.println(yunqiang.getName());
	}
}
